package com.ftwj.demo.permission.vo;

import java.io.Serializable;
import java.util.List;

/**
*
* <p>Title: RouterEntity</p>  
* <p>Description: 描述：VUE动态路由对象</p>
* <p>Copyright: Copyright (c) 2020 </p>  
* <p>Company: 兰州飞天网景信息产业有限公司</p>    
* @author WangSLi
* @date 2020年5月25日 下午6:40:39
* @version V1.0
 */
public class RouterEntity implements Serializable {
	/** serialVersionUID*/ 
	private static final long serialVersionUID = 1L;
	
	// {path: '/login', component: 'login', hidden: true} 
	private Integer id;
	private String path;
	private String component;
	private Boolean hidden=false;
	private String icon;
	private Integer pid;
	private Boolean affix;
	private Boolean noCache;
	private String redirect;
	private List<?> children;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getComponent() {
		return component;
	}
	public void setComponent(String component) {
		this.component = component;
	}
	public Boolean getHidden() {
		return hidden;
	}
	public void setHidden(Boolean hidden) {
		this.hidden = hidden;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public List<?> getChildren() {
		return children;
	}
	public void setChildren(List<?> children) {
		this.children = children;
	}
	
	@Override
	public String toString() {
		return "RouterEntity [id=" + id + ", path=" + path + ", component=" + component + ", hidden=" + hidden
				+ ", icon=" + icon + ", pid=" + pid + ", children=" + children + "]";
	}
	
}
